Failed to "POST" HTTP request to Tripo3D API provided by Fal.AI

Describe the problem/error/question

Tried to create a n8n workflow to use Tripo3D model via Fal.AI. I followed the instruction provided by Fai.AI, used the HTTP node and “POST“ the request to API. The output of the HTTP node showed the status is ““IN_Queue”, with additional details in '“request_url” and “cancel_url” as below.

Meanwhile, I noticed the cost was already deducted on Fal.AI side, with status showing “Processed”.

Any suggestions? Thanks.

What is the error message (if any)?

{"detail": "Cannot access application 'Tripo3d/tripo'. Authentication is required to access this application."}
{"405 Method Not Allowed"}

Please share your workflow

{
“nodes”: [
{
“parameters”: {},
“type”: “n8n-nodes-base.manualTrigger”,
“typeVersion”: 1,
“position”: [
0,
0
],
“id”: “80ebf79c-fe01-4116-be29-4ec272872456”,
“name”: “When clicking ‘Execute workflow’”
},
{
“parameters”: {
“method”: “POST”,
“url”: “https://queue.fal.run/tripo3d/tripo/v2.5/image-to-3d”,
“authentication”: “genericCredentialType”,
“genericAuthType”: “httpHeaderAuth”,
“sendHeaders”: true,
“headerParameters”: {
“parameters”: [
{
“name”: “Content-Type”,
“value”: “application/json”
}
]
},
“sendBody”: true,
“specifyBody”: “json”,
“jsonBody”: "{\n “image_url”: "https://png.pngtree.com/png-vector/20230831/ourmid/pngtree-house-with-no-background-png-image_9197435.png\\“\\n}”,
“options”: {}
},
“type”: “n8n-nodes-base.httpRequest”,
“typeVersion”: 4.2,
“position”: [
240,
0
],
“id”: “4fd2c1ef-9b3c-4bd2-aa5c-b785259b36fc”,
“name”: “HTTP Request”
}
],
“connections”: {
“When clicking ‘Execute workflow’”: {
“main”: [
[
{
“node”: “HTTP Request”,
“type”: “main”,
“index”: 0
}
]
]
}
},
“pinData”: {},
“meta”: {
“templateCredsSetupCompleted”: true,
“instanceId”: “8c5da0d5f9a510329aee20d6719a1812130d3b5460b91f3eaee3649603b8c2ab”
}
}

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 1.112.4
  • Database (default: SQLite): default
  • n8n EXECUTIONS_PROCESS setting (default: own, main): default
  • Running n8n via (Docker, npm, n8n cloud, desktop app): n8n cloud
  • Operating system: Windows 11, Microsoft Edge

ok so you sent the req and got the response with status.

Your next steps are - keep requesting status until you see it is finished

curl --request GET \
  --url https://queue.fal.run/tripo3d/tripo/requests/$REQUEST_ID/status \
  --header "Authorization: Key $FAL_KEY"

and when it is finished, you request the result with

curl --request GET \
  --url https://queue.fal.run/tripo3d/tripo/requests/$REQUEST_ID \
  --header "Authorization: Key $FAL_KEY"
1 Like

@jabbson Thanks. it works now.

No worries, is the answer helped you, please consider marking it as Solution.

Cheers!