Back

[SOLVED] Function with the requested ID could not be found

  • 0
  • Functions
huylv
14 Mar, 2023, 02:16

Hey, I want to execute a function using a POST request, but it said Function with the requested ID could not be found.

Below is my postman screenshot, I used API key with full access.

TL;DR
The user encountered an error message saying that the requested function ID could not be found. The solution to this problem was to make sure that the 'data' attribute was a string. The user also forgot to include the 'X-Appwrite-Project' in the header, which caused another error. The user was advised to read through the REST API documentation for more information. The issue was solved by adding the missing header.
Drake
14 Mar, 2023, 02:17

Have you read through the REST API docs? https://appwrite.io/docs/rest

huylv
14 Mar, 2023, 02:21

got it, I forgot to add X-Appwrite-Project to header. Sorry for my mistake

Drake
14 Mar, 2023, 02:25

[SOLVED] Function with the requested ID could not be found

huylv
14 Mar, 2023, 02:44

@Steven hey, I put body into raw type but got this error, is there anything wrong?

huylv
14 Mar, 2023, 02:44
Drake
14 Mar, 2023, 02:45
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more