1
0
-1

I am attempting to add a picture by URL using the v2 API. 

Here is the JSON payload on the POST call to https://api.rescuegroups.org/http/v2.json


  "tokenHash": "{{tokenHash}}",
  "objectAction": "addPictureUrl",
  "values": [
    {
      "animalID": "17265560",
      "pictureUrl": "https://www.aforeverhome.org/images/SayersSally4.jpg"
    }
  ],
  "objectType": "animals",
  "token": "{{token}}"


Here is the status that I get back. I can't see what the issue is. Can you help me out, please?


{
  "status": "error",
  "messages": {
    "generalMessages": [],
    "recordMessages": [
      {
        "status": "error",
        "ID": "",
        "messageID": "1002",
        "messageCriticality": "error",
        "messageText": "Failed to save the record."
      }
    ]
  },
  "foundRows": 0,
  "data": []
}
    CommentAdd your comment...

    2 answers

    1.  
      1
      0
      -1

      Ken,

      After review, it appears that your certificate chain may need to be updated. It looks like you're including a CA cert that is expired: DST Root CA X3

      https://www.ssllabs.com/ssltest/analyze.html?d=aforeverhome.org&latest

      Richard

        CommentAdd your comment...
      1.  
        1
        0
        -1

        Ken,

        I would recommend that you post on the APIDEV Google Group:

        https://groups.google.com/a/rescuegroups.org/g/apidev

        But to answer your question, it appears we are having some issues with certain SSL certificates due to the recent Let's Encrypt root certificate expiration. We're looking into the issue.

        Richard

          CommentAdd your comment...