Integrations and APIs for Service

Get Involved. Join the Conversation.


    Janusz Jasinski
    OSC-CREST-00013 - Unrecognised resource
    Topic posted July 17, 2019 by Janusz JasinskiSilver Crown: 22,500+ Points, tagged Connect PHP, REST 
    44 Views, 2 Comments
    OSC-CREST-00013 - Unrecognised resource


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

    However I get this error:

        "type": "",
        "title": "Unrecognised resource",
        "status": 404,
        "detail": "Resource with id 705951 not found",
        "instance": "",
        "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: