Calling API retrieves just a specific amount of data using WPCode… Any idea?
-
I’m working on a WP website where we have to call an API to retrieve some data. This API contains the information of too many users (more than 200), each of which containing bio, skills, degrees, etc.
The problem is that the API works perfectly in Postman, giving us everything we need to be fetched. I added my logic within a PHP snippet using WPCode plugin, but everytime I want to activate it and clik the update button, the browser tab reloads itself until it gives me 14 users of the API, and then it stops reloading and gives me 503 error. And after that, when I want to activate the snippet again, to test it, it says “This snippet was automatically deactivated because of a fatal error at 08:28:10 on 2025-01-25 (16 minutes ago)” and the error is not API-side, since I checked the user no. 14 or even 15 API and all the key/values are there.
Any idea?
The topic ‘Calling API retrieves just a specific amount of data using WPCode… Any idea?’ is closed to new replies.