Relative Content

Tag Archive for typescriptmongodbnext.jspostnext.js13

NextJs MongoDB collection rewrite

so I was trying to fetch YouTube data v3 API, and due to the quota limit for API calls I decided to build a function that stores the API data in a MongoDB collection or updates it every time the call is successful, if the call fails it falls back to the database content. and it seems to be working fine in the localhost but in the Vercel link the POST request I made returns a 504 Gateway Timeout error and doesn’t update or rewrite the content, take a look

NextJs MongoDB collection rewrite

so I was trying to fetch YouTube data v3 API, and due to the quota limit for API calls I decided to build a function that stores the API data in a MongoDB collection or updates it every time the call is successful, if the call fails it falls back to the database content. and it seems to be working fine in the localhost but in the Vercel link the POST request I made returns a 504 Gateway Timeout error and doesn’t update or rewrite the content, take a look

NextJs MongoDB collection rewrite

so I was trying to fetch YouTube data v3 API, and due to the quota limit for API calls I decided to build a function that stores the API data in a MongoDB collection or updates it every time the call is successful, if the call fails it falls back to the database content. and it seems to be working fine in the localhost but in the Vercel link the POST request I made returns a 504 Gateway Timeout error and doesn’t update or rewrite the content, take a look