Skip to main content
S_e_b_a_s_t_i_a_n
New Participant
Jan 17, 2025 9:21 AM UTC
Solved

REST API: Problems with POST Dev resources

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"
    }
  ]
}


 

This topic has been closed for replies.
S_e_b_a_s_t_i_a_n
New Participant
Jan 17, 2025 9:37 AM UTC

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.

1 reply

S_e_b_a_s_t_i_a_n
S_e_b_a_s_t_i_a_nAuthorSolution
New Participant
Jan 17, 2025 9:37 AM UTC

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.