Square SDK is failing my deployment

I am trying to deploy my project. I am using square SDK to read/write data. During my deploy I get the error message: Failed to collect data for
services/[id]

I did some research & it showed that the error is occurring because of axios. I used a fetch adapter to solve the axios error but I’m still getting the same result

This is only happing with the dynamic route. When I collect data from my main page it works fine.

Locally everything is running fine
Was this page helpful?