Closed t-lock closed 2 years ago
Hi Timothy,
We still regularly use the legacy API, so it should work fine. It is possible you need to enable it, I'm not aware of this, but it's possible.
Joey
On Mon, Oct 18, 2021 at 8:19 AM Timothy Wheelock @.***> wrote:
Infusionsoft_Exception: Didn't receive 200 OK from remote server
Is the "legacy api" method still working? I follwed the instructions from https://www.youtube.com/watch?v=I4NvbIKrE1E exactly, but get this error every time.
Its worth noting, this is run as part of a custom Wordpress plugin, but the entirety of my code is just a single function trying to create a contact.
Perhaps the legacy API must be "enabled" on my sandbox app or something along those lines?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/novaksolutions/infusionsoft-php-sdk/issues/175, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFLPK6O5JRVE67SBFK34PTUHQUGLANCNFSM5GGYZ2YA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
-- C) 503-719-2169
Like Novak Solutions on Facebook http://www.facebook.com/plugins/like.php?href=http://www.facebook.com/pages/Novak-Solutions-LLC/282048461853879
"Opportunity is missed by most people because it is dressed in overalls and looks like work." --Thomas Edison
@joeynovak thanks for quick reply, that's at least a sanity check for me. I'll follow up if I get it figured out.
I tried some other operations with the SDK that led me to a more useful
error about a nonexistent class ForceUTF8::Encode
. I installed
https://packagist.org/packages/neitanod/forceutf8 and now am able to read
Contact data from infusionsoft via the SDK. I am replying via email, so I
don't have it in front of me, but I believe there is an open issue
regarding this. The SDK documentation might need an update regarding being
"dependency free", or better yet, may be better to package this dependency
directly.
On Tue, Oct 19, 2021 at 1:41 AM Joey Novak @.***> wrote:
Hi Timothy,
We still regularly use the legacy API, so it should work fine. It is possible you need to enable it, I'm not aware of this, but it's possible.
Joey
On Mon, Oct 18, 2021 at 8:19 AM Timothy Wheelock @.***> wrote:
Infusionsoft_Exception: Didn't receive 200 OK from remote server
Is the "legacy api" method still working? I follwed the instructions from https://www.youtube.com/watch?v=I4NvbIKrE1E exactly, but get this error every time.
Its worth noting, this is run as part of a custom Wordpress plugin, but the entirety of my code is just a single function trying to create a contact.
Perhaps the legacy API must be "enabled" on my sandbox app or something along those lines?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/novaksolutions/infusionsoft-php-sdk/issues/175, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AAFLPK6O5JRVE67SBFK34PTUHQUGLANCNFSM5GGYZ2YA
. Triage notifications on the go with GitHub Mobile for iOS < https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
-- C) 503-719-2169
Like Novak Solutions on Facebook < http://www.facebook.com/plugins/like.php?href=http://www.facebook.com/pages/Novak-Solutions-LLC/282048461853879
"Opportunity is missed by most people because it is dressed in overalls and looks like work." --Thomas Edison
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/novaksolutions/infusionsoft-php-sdk/issues/175#issuecomment-945961569, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACWBMPMRVTQWFGNXBQBRK73UHRE5JANCNFSM5GGYZ2YA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Back online, issue metioned is #170, which is marked closed
Oh, but I see it is added to the documentation:
No bloated dependencies. We had no dependencies but we recently added ForceUTF8, If your server has PHP and cURL, and you can add the ForceUTF8 dependency using composer then you are good to go!
Closing this issue.
Thanks for your work on this sdk!!
Dang, you are totally right about our dependency free slogan. Composer has become standard enough that I think we're comfortable having a few dependencies.
I'll add this to my todo list :)
On Mon, Oct 18, 2021 at 10:38 PM Timothy Wheelock @.***> wrote:
I tried some other operations with the SDK that led me to a more useful error about a nonexistent class
ForceUTF8::Encode
. I installed https://packagist.org/packages/neitanod/forceutf8 and now am able to read Contact data from infusionsoft via the SDK. I am replying via email, so I don't have it in front of me, but I believe there is an open issue regarding this. The SDK documentation might need an update regarding being "dependency free", or better yet, may be better to package this dependency directly.On Tue, Oct 19, 2021 at 1:41 AM Joey Novak @.***> wrote:
Hi Timothy,
We still regularly use the legacy API, so it should work fine. It is possible you need to enable it, I'm not aware of this, but it's possible.
Joey
On Mon, Oct 18, 2021 at 8:19 AM Timothy Wheelock @.***> wrote:
Infusionsoft_Exception: Didn't receive 200 OK from remote server
Is the "legacy api" method still working? I follwed the instructions from https://www.youtube.com/watch?v=I4NvbIKrE1E exactly, but get this error every time.
Its worth noting, this is run as part of a custom Wordpress plugin, but the entirety of my code is just a single function trying to create a contact.
Perhaps the legacy API must be "enabled" on my sandbox app or something along those lines?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/novaksolutions/infusionsoft-php-sdk/issues/175, or unsubscribe <
https://github.com/notifications/unsubscribe-auth/AAFLPK6O5JRVE67SBFK34PTUHQUGLANCNFSM5GGYZ2YA
. Triage notifications on the go with GitHub Mobile for iOS <
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android <
.
-- C) 503-719-2169
Like Novak Solutions on Facebook <
"Opportunity is missed by most people because it is dressed in overalls and looks like work." --Thomas Edison
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/novaksolutions/infusionsoft-php-sdk/issues/175#issuecomment-945961569 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/ACWBMPMRVTQWFGNXBQBRK73UHRE5JANCNFSM5GGYZ2YA
. Triage notifications on the go with GitHub Mobile for iOS < https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/novaksolutions/infusionsoft-php-sdk/issues/175#issuecomment-946361139, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFLPK6IGOWTMXY2KKBQDZ3UHTY4DANCNFSM5GGYZ2YA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
-- C) 503-719-2169
Like Novak Solutions on Facebook http://www.facebook.com/plugins/like.php?href=http://www.facebook.com/pages/Novak-Solutions-LLC/282048461853879
"Opportunity is missed by most people because it is dressed in overalls and looks like work." --Thomas Edison
Is the "legacy api" method still working? I follwed the instructions from https://www.youtube.com/watch?v=I4NvbIKrE1E exactly, but get this error every time.
Its worth noting, this is run as part of a custom Wordpress plugin, but the entirety of my code is just a single function trying to create a contact.
Perhaps the legacy API must be "enabled" on my sandbox app or something along those lines?
Running php 7.4.1, cURL is installed