Integrations and APIs for Service

Get Involved. Join the Conversation.

Topic

    Janusz Jasinski
    OSC-CREST-00013 - Unrecognised resource
    Topic posted July 17, 2019 by Janusz JasinskiBronze Crown: 15,000+ Points, tagged Connect PHP, REST 
    30 Views, 2 Comments
    Title:
    OSC-CREST-00013 - Unrecognised resource
    Content:

    Hi,

    Please see code below - so I'm trying to upload Base64 data as an attachment to an incident.

    However I get this error:

    {
        "type": "https://mydomain.custhelp.com/services/rest/connect/exceptions/OSC-CREST-00013",
        "title": "Unrecognised resource",
        "status": 404,
        "detail": "Resource with id 705951 not found",
        "instance": "https://mydomain.custhelp.com/services/rest/connect/v1.3/incidents/705951/fileAttachments",
        "o:errorCode": "OSC-CREST-00013"
    }

    This incident exists though - I can confirm this by going to the link the error says does not exist. This code sits in the model.

    Am I doing anything obviously wrong?

    Code Snippet:

    Comment