Jump to content









Photo

Problem with Tutorial Sigfox

sigfox documentation

  • Please log in to reply
4 replies to this topic

#1 tridon

tridon

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 13 May 2017 - 01:37 PM

Hello, 

 

I have been trying to setup a Sigfox callback towards Carriots using this documentation : https://www.carriots...entation/sigfox

 

In the sigfox URL pattern field, I've put the url following this pattern :

http://sigfox.carrio...rms?apikey=YOUR CARRIOTS APIKEY&protocol=v1&at=now&device=YOUR CARRIOTS DEVICE NAME&data[value]={data}

 

But every callback attempt has failed so far , and with the same error code (401):

 

 

 

 

1494682264-sigfox-errors.jpg

 

The sigfox interface changed a lot since the tutorial, with notably new fields for the creation of a callback, so maybe this is where my issue comes from :

 

1494682452-sigfox-callback-creation.png

 

If anyone knows about this issue, that would really help me

 

thx in advance



#2 adelek

adelek

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 08 June 2017 - 10:31 AM

Hello,

I have the same problem.

Is it ok for you now ?

Thanks



#3 sdeancos

sdeancos

    Master of Puppets

  • Members
  • PipPipPip
  • 107 posts
  • LocationMadrid, Spain.

Posted 14 June 2017 - 01:45 PM

Hello,

 

You can try this (put your apikey in header and device id_developer in body):

 

http://imgur.com/a/V3lyG

 

 

I hope this help you.

 

BR.



#4 dmonrabal

dmonrabal

    Member

  • Members
  • PipPip
  • 12 posts

Posted 12 December 2017 - 11:36 PM

Hello.
 
I have the same problem. I'm trying to configure a callback following the documentation using headers and body payload.
 
Headers:
 Carriots-apikey                       my_apikey
 
body
 
{
    "at": "now",
    "protocol": "v2",
    "device": "My_id_developer",
    "data": {
         "id": "{device}",
          "lat": {lat},
          "lng": {lng},
          "data": "{data}"
    }
}
 
But I have always the same respone: 
[ERROR] - Base station XXX - < 1 second
401 - Unauthorized 
 
Has someone resolve the problem?
Thanks!!


#5 dmonrabal

dmonrabal

    Member

  • Members
  • PipPip
  • 12 posts

Posted 20 December 2017 - 11:42 AM

Hello.

It works now.

 

The problem is that it did not put the correct content-type. I already receive data from Sigfox without problems.

 

Thanks 







Also tagged with one or more of these keywords: sigfox, documentation

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users