Giter VIP home page Giter VIP logo

Comments (16)

mfakhrys avatar mfakhrys commented on June 15, 2024

Nvm, somehow it doesn't appear again.

from simple-sms.

dhildreth avatar dhildreth commented on June 15, 2024

I realize this is old and closed, but I'm experiencing the same thing.

[GuzzleHttp\Exception\ClientException]                                                                               
  Client error: `POST https://app.eztexting.com/sending/messages?format=json` resulted in a 
`403 Forbidden` response:  
  {"Response":{"Status":"Failure","Code":403,"Errors":["Access Forbidden"]}}

I'm hoping it starts to 'just work' like it did for fsyaugy, but I'm not wanting to hold my breath. Any suggestions would be appreciated. If I need to, I'll open a new ticket, just let me know.

from simple-sms.

SimplyCorey avatar SimplyCorey commented on June 15, 2024

Have you double checked your config options and ensured that you are passing in the correct api keys?

from simple-sms.

dhildreth avatar dhildreth commented on June 15, 2024

I have ensured I'm using the correct username and password. From my understanding, there wasn't any other API keys to punch in unless you were planning on receiving text messages as well.

https://www.simplesoftware.io/docs/simple-sms#docs-ez-texting-driver

(By the way, the short number may have been updated to 797979 from 313131 which is documented)

from simple-sms.

SimplyCorey avatar SimplyCorey commented on June 15, 2024

Correct, you shoul djust need your username and password for eztexting. Ill have to take a look at it and see what is going on. a 403 error sounds like something is wrong on eztexting side though.

from simple-sms.

dhildreth avatar dhildreth commented on June 15, 2024

I'd agree with that statement, but I would sure appreciate any help I can get. Maybe their API has changed somewhat?

from simple-sms.

SimplyCorey avatar SimplyCorey commented on June 15, 2024

I'll have to look at the code, its been awhile. A quick look at their docs suggests it hasnt changed yet. If you want to dd($response) here: https://github.com/SimpleSoftwareIO/simple-sms/blob/develop/src/MakesRequests.php#L136 it may give some insight of what's happening.

https://www.eztexting.com/developers/sms-api-documentation/rest#Sending

I plan on coming around and catching up with SMS, but I have been swamped with other work.

from simple-sms.

dhildreth avatar dhildreth commented on June 15, 2024

Thanks for the tip.

I added dd($this->getAuth) above the client->post() line and it prints out null. I found that to be surprising.

from simple-sms.

SimplyCorey avatar SimplyCorey commented on June 15, 2024

That's expected. For some reason extexting accepts the username/password in the body and not the header. If you dd the body, you should see it.

from simple-sms.

dhildreth avatar dhildreth commented on June 15, 2024

Oh, yup! There it is. The output of the dd($response) by the way is the same as the error I posted above.

 [GuzzleHttp\Exception\ClientException]                                                                               
  Client error: `POST https://app.eztexting.com/sending/messages?format=json` resulted in a `403 Forbidden` response:  
  {"Response":{"Status":"Failure","Code":403,"Errors":["Access Forbidden"]}}  

from simple-sms.

dhildreth avatar dhildreth commented on June 15, 2024

Oh, you know what... I just thought of this. I'm using their free plan. I wonder if they're restricting API access. Let me get in touch with them and see what they say.

Thanks.

from simple-sms.

SimplyCorey avatar SimplyCorey commented on June 15, 2024

Please do and get back to me on that. We should add it to the docs if that is the case.

from simple-sms.

dhildreth avatar dhildreth commented on June 15, 2024

Yup. That's the case. They do not allow API access when you have a free account. You must have a paid account.

from simple-sms.

dhildreth avatar dhildreth commented on June 15, 2024

I'll keep looking around for a free SMS provider with access to the API. I'll start with the ones you have on your list and then go from there. Or, I'll just default back to the email gateways. Thanks for your help.

from simple-sms.

SimplyCorey avatar SimplyCorey commented on June 15, 2024

Thanks for checking that out and it is good to know.

from simple-sms.

dhildreth avatar dhildreth commented on June 15, 2024

Also just found out that you can use "anytime credits". I have 100. I'll ride it out until I'm out. :-)

from simple-sms.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.