Content not found 404 issue

Vote:
 

Hi Team,

   We have build our own DAM just like media tab which contains all the external images. We have also created one job schedular which is refreshing the DAM images.

   I have referred few images from DAM into the page and published, It is reflecting into the website and api is also returning the correct data. But when I run the job schedular to refresh the DAM images . Our job runs successfully and those images which I referred into the page that is also available in the DAM.

After the job run successfully I am trying to get the page details through api but it is giving the 404 error. I am facing this issue only on Preproduction and Production

environment and when server is getting restart the api is working fine. I haven't faced this issue on Integration environment.

Looking for help...!  Any help would be appreciated

Here is the api response.

{
    "type""https://tools.ietf.org/html/rfc7231#section-6.5.4",
    "title""Not Found",
    "status"404,
    "detail""Content not found",
    "instance""/api/episerver/v3.0/content/715",
    "traceId""00-7d9dc09f51cb974c873532741811f39e-6d852ab5e8bd9a4a-00",
    "code""NotFound"
}
#293817
Edited, Dec 28, 2022 11:54
Vote:
 

What does your request look like? Can you access the content item with ID 715 in edit mode? Does the 'Everyone' role have access to the content, and/or is the request authenticated? Is it only available in a specific language, and do you request that language?

#293823
Dec 28, 2022 15:39
Vote:
 

Hi Johan Petersson

   Thank you for your response.

   I am able to access the content item with ID 715 in edit mode and everyone role have access to the content. We are not using any authentication for the the content delivery api. I am also able to access the the content item with ID 715 through the api. But the problem I am facing after run the job schedular when Our DAM getting refreshed after that the api is giving the 404 error and once server is getting restart again it is working fine.

#294010
Jan 02, 2023 6:01
Vote:
 

Hi Team,

  I am still looking for a solution. Can anyone have any idea ?

#294232
Jan 06, 2023 10:30
Vote:
 

How are you accessing the content item, what does the request look like?

#294363
Jan 09, 2023 8:41
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.