-
-
Notifications
You must be signed in to change notification settings - Fork 503
POST fails on Mac but succeeds on Windows #125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I've had some issues with Excel for Mac eating the detailed error messages and reported that generic one. To get the full error, open the Immediate Window from the VBA Editor and that should contain the full error message. If you could post that, I'll try to figure out what's happening. |
Here is the error message from the immediate window.
|
Hmm, can you put a breakpoint in |
I added some debug prints to the code. The code looks like this now:
And it produced a log below. There is first a successful post for sending the sheet in csv format and then the failed post for sending the image.
So it looks like parsing the content fails because the response has a blank line after the |
Thanks for including all of the debugging. Strange, so it includes both 100 and 200 in the same response? (I've never worked with status code 100 before, but didn't think that was normal) I'll look into a way to handle this case. |
It looks like others have had similar issues with cURL and 100 Continue responses. http://stackoverflow.com/questions/2964687/how-to-handle-100-continue-http-message Maybe just remove the Continue lines if they exist? |
Good find, that looks like that's the issue and glad to see it's cURL's default (even though it doesn't really make sense) so that I can work around it consistently. Will fix shortly. |
Hi,
I'm using VBA-Web to post sheet in csv and images as base64 encoded strings to my web server. The server responds with an empty JSON with status 200. When using the macro in Windows Excel 2003 it works ok but on Mac Excel 2011 I get an error
The debug is highlighting the row with
The macro code looks like this
Do you have ideas about why this is happening? Any workarounds?
The text was updated successfully, but these errors were encountered: