S3::putObject(): [6] Could not resolve host: http - codeigniter

I am uploading image on Amazon S3 through codeigniter. My S3Url, secret key and access key is right. But still i am getting following error in S3 library.
S3::putObject(): [6] Could not resolve host: http
Even I have given AmazonS3FullAccess permission to my bucket. But still getting same error.
I have tried my best but still didnt getting solution. Please help me in this problem.
Thanks in advance

Related

Forbidden 403 Access URL API in Laravel

Good afternoon, let me ask
I created a service API using Laravel, but one of the API urls when I sent the response parameter was 403 or Forbidden. even though before it was fine, it worked smoothly. And I raised it to the server instead it became Forbide. Anyone know why? thank you for answering
If it is ok on local and getting a forbidden error on the server, the problem might be caused by the webserver application. please take a look at this link.

Error: Econnrefured when connect to localhost

Hi I'm new to postman and I have this problem connecting to local host.
I made a POST request to localhost:3000 and it keeps showing error: connect econnrefuse 127.0.0.1:3000.
I have tried to check and uncheck the Use the system proxy and also add a custom proxy.
It still doesn't work.
Could someone please help me? Thanks
this is the error
2
postman proxy

Not able to download file from google drive

We are using google drive api to download the content, which was working fine from last 2 years, Now we started facing below error:
Error 403 (Forbidden)!!1
403 Forbidden
Your client does not have permission.
steps to reproduce:
Get API:
https://content.googleapis.com/drive/v2/files/<FILE_ID>?alt=media&source=downloadUrl
Headers : Authorization: Bearer <token>
Content created on google drive is getting downloaded, while content uploaded to drive from the local machine is not getting downloaded via API.
Any help would be appreciated. We have scope drive.readonly granted.
I had the same issue, an application we had running for years suddenly stopped working in mid-March of this year. I found the solution in this post.
In summary, the download url returned (content.googleapis.com/drive/v2/files/FileID?alt=media) no longer works. Instead use this url - googleapis.com/drive/v2/files/FileID?alt=media

Yammer API exporting data gives error (401) Unauthorized

We are using the Yammer API to obtain statics for various of our clients.
We have the correct access token for all of them but for some we are receiving this error: The remote server returned an error: (401) Unauthorized..
The zip file generated does not get downloaded.
Example call: https://www.yammer.com/api/v1/export?model=Message&model=Group&model=Topic&model=UploadedFileVersion&model=DocumentVersion&access_token=xxxxxx-XkwP1lZFYYTF1NGrpFGmuw&include=csv&include_ens=false&since=2015-02-24T00%3A00%3A00%2B00%3A00
When pasting the link in a new tab a file not found is shown.
Does anyone have an idea what the problem may be or does know another way of getting the desired data?

"The remote server returned an error: (401) Unauthorized." When trying to access Exchange via Webdav

I asked another question earlier about a 400 error. (http://stackoverflow.com/questions/6099557/the-remote-server-returned-an-error-400-bad-request-when-trying-to-access-e)
While waiting for responses, I tried a few other things and have now come across another unhelpful error. ("The remote server returned an error: (401) Unauthorized.").
I am trying to connect to http://mailserver/owa/. When I paste this URL into my browser, and type my credentials, I can get logged in just fine. When I try to connect with the same credentials through WebDav, I get the 401 error. How do the same credentials work one way, but not another way?
I tried using the authenticate method found here: http://blog.mbcharbonneau.com/2006/10/26/using-net-and-webdav-to-access-an-exchange-server/
I still get the same 401.
This seems like it should be so straightforward, yet all I can find out there are forums of people with the same problem. Nobody can provide and answer or working example. Has anyone actually ever been able to do this successfully before!?

Resources