Skip to Content
avatar image
Former Member

REST receiver method GET, HTTP header issue. HTML 412.

Dear all, I would like some advices about a problem with an interface. I am using method GET from external API, and I get error HTTP 412, is about HTTP headers. Bellow there are images of my configuration. Could anyone give me some tips about what's wrong?

Testing the service on RESTLET, it works.

On PI the communication channel .

Erro after testing.

restlet.png (27.7 kB)
cc1.png (12.6 kB)
cc2.png (10.3 kB)
cc3.png (20.1 kB)
cc4.png (8.4 kB)
cc5.png (21.2 kB)
erro1.png (9.4 kB)
erro2.png (25.4 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Nov 21, 2017 at 02:47 PM

    The HTTP 412 Error is about Precondition that can be related to HTTP Header fields.

    I suggest use "Basic Authorization" on General Tab instead the "Authorization" header field.

    Delete and recreate the other one (X-AGILE-CLIENT) verifying the service documentation and the verify the spelling.

    Best regards,

    Josieudes Claudio

    Add comment
    10|10000 characters needed characters exceeded