# Next.js - content: { status: 404, message: 'Model not found' } in PROD

**URL:** <https://forum.builder.io/t/next-js-content-status-404-message-model-not-found-in-prod/5308>\
**Category:** Bugs\
**Tags:** react, api, nextjs\
**Created:** [April 5, 2024, 8:24am UTC](https://forum.builder.io/t/next-js-content-status-404-message-model-not-found-in-prod/5308 "2024-04-05T08:24:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sergey\_petrinich](https://avatars.discourse-cdn.com/v4/letter/s/919ad9/32.png) [@sergey\_petrinich](https://forum.builder.io/u/sergey_petrinich)\
**Post date:** [April 5, 2024, 8:24am UTC](https://forum.builder.io/t/next-js-content-status-404-message-model-not-found-in-prod/5308/1 "2024-04-05T08:24:25Z")

</div>

**Stack**

- Next.js
- TypeScript
- Builder React SDK V1 / SDK V2

When I’ve created a builder account, the link to app was [http://localhost:3000/](http://localhost:3000/)

In dev environment everything works fine, when I’m building and starting the app on local everything is fine too.

**Problem**  
When the app is building in Jenkins fetch to [Builder.io](http://Builder.io) returns `undefined`.  
When I tried to upgrade to V2 SDK I saw this error message.  
` content: { status: 404, message: 'Model not found' }`

But the on local everything works fine.

**Question**  
Should I somehow make content public? Or what can be the issue?

---

<div class="post-metadata">

**Author:** ![manish-sharma](https://avatars.discourse-cdn.com/v4/letter/m/8797f3/32.png) [@manish-sharma](https://forum.builder.io/u/manish-sharma)\
**Post date:** [April 5, 2024, 1:54pm UTC](https://forum.builder.io/t/next-js-content-status-404-message-model-not-found-in-prod/5308/2 "2024-04-05T13:54:04Z")

</div>

Hello @sergey_petrinich,

Welcome to the [Builder.io](http://Builder.io) forum post.

Could you please provide more context regarding the issue you mentioned: “When the app is building in Jenkins, fetch to [Builder.io](http://Builder.io) returns `undefined`”?

Sharing screenshots or providing a small GitHub repository would greatly assist us in understanding and addressing the issue more effectively.

Thank you.
