mirror of
https://github.com/ushahidi/SMSSync.git
synced 2026-04-25 15:55:57 +03:00
[GH-ISSUE #465] custom web service not syncing SMSes #329
Labels
No labels
Bug report
Code improvement
Concern
Feature request
Feature request
Good first issue to work on
In progress
Needs info
Question
Ready
Translation
User Experience
User Experience
Website
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/SMSSync#329
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @laurentS on GitHub (Feb 4, 2017).
Original GitHub issue: https://github.com/ushahidi/SMSSync/issues/465
Expected behavior
When using the "test integration" button while adding a custom web service with SMSsync 3.0.5, following the documentation, I'm expecting the test to succeed somehow.
Actual behavior
Instead I keep getting the "Web service doesn't seem to have the right endpoint" error message.
Steps to reproduce the behavior
As I am writing the backend, I have followed http://smssync.ushahidi.com/developers/ and return a JSON object like:
I am also using version 2.7.3 on another set of phones (as it is the only version I've managed to get to work, with the same backend), which works with
"success": "true"(note the quotes) in the reply. I have tried that for 3.0.5, but no luck either. Similar tests with quotes aroundnullhave not solved it.The interface seems to have changed between SMSsync 2.7.x and 3.x. What is wrong with my code?
@ClearLakeHABMap commented on GitHub (May 22, 2017):
Seeing this issue too. I am questioning the install directory to the actual route of the endpoint and changes in installations.
@Luk4 commented on GitHub (Jul 7, 2017):
I don't know if this solves your problem, but I was getting the same error until I changed from https to http. Using http I get "a valid SMSsync service".