Error with SharePoint Online Spoke - BadRequest, message: Resource not found for the segment _api

NicolasMothes
Tera Contributor

Hi,

 

I need to use this spoke to automatically create a sharepoint following a request.
Unfortunately, I'm encountering a problem with the spoke actions.
 
By using the Get site action, the information is correctly transmitted.
NicolasMothes_0-1755507594012.png

 

However, if I use "create modern site", or even "create site (deprecated)", I always get the following error:

NicolasMothes_1-1755507690877.png

 

Have you already encountered this problem?
 
Thank you in advance for your feedback.
2 REPLIES 2

NicolasMothes
Tera Contributor

Does anyone have any ideas about this problem?

@NicolasMothes 

 

Can you go to the action 'Create Modern Site' and check the steps configured for it.

 

From your error, you are making POST request to SharePoint API that is pointing to incorrect resource.

 

Below is from Microsoft Community

Bhuvan_0-1757661071634.png

Try to make a sample API call from Postman to see if it works fine. Check and confirm with SharePoint team you are using correct URL and parameters.

 

If this helped to answer your query, please mark it helpful & accept the solution.

 

Thanks,

Bhuvan