Skip to main content
Answer

REST API: Problems with POST Dev resources

  • January 17, 2025
  • 1 reply
  • 59 views

S_e_b_a_s_t_i_a_n

Hey, I’m trying to figure out how to create a dev resource with the REST API. The POST Endpoint should do this job, but it doesn't work for me.
No matter which node_id I specify, the same error always comes back:
 

{
  "links_created": [],
  "errors": [
    {
      "file_key": "***",
      "node_id": "794-1987",
      "error": "Invalid node_id"
    }
  ]
}


 

Best answer by S_e_b_a_s_t_i_a_n

Now I've figured it out. The correct format is '794:1987', with a colon as a separator. There is always a hyphen in the URL.

This topic has been closed for replies.

1 reply

S_e_b_a_s_t_i_a_n
  • Author
  • New Participant
  • Answer
  • January 17, 2025

Now I've figured it out. The correct format is '794:1987', with a colon as a separator. There is always a hyphen in the URL.