Currently I work in a deployment of Business Central and a integration with CRM. On the process I need to create an API to send products to Assembly BOM from CRM. The problem is that this works correctly on sandbox but not on my production environment, today I was make a copy of my production environment to check if the problem was the environment type but not.
The throwed error on Automate when I test my flow is the next:
ErrorCode: BadRequest_ResourceNotFound Resource not found for the segment 'insertBOOM'.
I check the next scenarios:
1.- The API is declared in both environments and the deployed code is the same on sandbox, sandbox3 (copy of production) and production
2.- I check on postman and the API respond correctly on my sandbox but sandbox3 (the copy of production environment), the response isn't the same, this "justify" the error because on sandbox found the action "insertBOM" but on Sandbox3 only found the API but not the action.


3.- I check if exist a custom connector to sandbox on Power Automate but no.
4.- The permission sets and the user permissions is the same on both environments
The only thing that I consider is a missing Power Automate setup that definetely I didn't setup (but probably one of my work partners make), because I not fond logic that the same code work in a environment and in other no.