Unable to Maintain Multiple session in axis 1.4 - error-handling

I want to add, get and update customer details from Netsuite. I have used apache axis 1.4 (recommended by Netsuite) to communicate web services exposed by Netsuite. I can be logged in successfully, however once I log in, I am unable to do further operations like add, update and get customers.
Here is the error msg I got:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: Your connection has timed out. Please log in again.

SOLUTION: For other people stuck with the same issue here is where is the problem. Apparently NetSuite has changed their web services url without updating their documentation. The new url you have to use is:
https://webservices.na1.netsuite.com/services/...
I suspect this is an end point for North America -based customers.
Big Thanks! to Paul Hooker for his invaluable tip.

Related

Remove facebook pixel error "Invalid Match Key Parameters for ViewContent Event"

My developer has integrated facebook pixel on my shopify site. But after 3 days it is showing me this error in diagnostic window. I am trying to resolve this at my end.
You’re sending the same event ID for many instances of your ViewContent events. Event IDs are unique identifiers that are used to deduplicate identical events received from your pixel and the Conversions API so they’re not counted twice. To ensure that Facebook is accurately counting your events, each unique event instance needs its own unique event ID.
This may cause issues with the measurement of your events and the attribution of your ad campaigns.
So to remove this I simple enabled "external_id" parametre from "Automatic Advanced matching" option but I am not quite sure that I did right thing or not as I am new in integrating this. After solving this, I am seeing this error now as mentioned in screenshot
Is there something in code, that I need to change to resolve this issue.
Note: Setup is made through a partner integration.
Please help me to resolve these errors. If you need more info, please let me know.
Any help will be appreciated!
Thanks!
I tried both the option
Switching OFF "Automatic advanced matching"
Switching ON "Automatic advanced matching" -> Show options (External ID --> ON)
Finally I observed we have to go with option 1. Still the issue will come single time for each conversion event. After first time we encounter the error we have to move it to ignore list. For each event we will get error we have to do similar trick. Once all event encountered such error and all ignored problem might be solved.
So far I have done for 4 events which I got error. After that I have not got the error for those 4 events. Waiting for my other 2 events error.
But not sure the problem is solved permanently but not seeing any problem for those 4 events for 48 hours. But definitely shopify and facebook together need to solve. But both passing ball to one another.

BIM 360 field API login issues

Frustrating issue with attempting to use REST to login to the BIM 360 Field API, it was suggested that to use the postman application in order to ensure that my code wasn't an issue, however I'm now getting an unauthorized error, this has been attempted with an admin account and a developer account with the same response (login details are definitely valid), I was wandering if anyone has encountered this problem before or has any idea how would go about getting past this, I need to get the ticket response in order to go any further with developing an application for this, I'm already in contact with someone from Autodesk but due to timezone differences responses are difficult!
I've attached a picture to highlight the simplicity of what I'm attempting to do with no joy!
Thanks in advance
Dan
In case somebody else hits the same issue, FYI -
Dan and I looked at this issue, and we learned (in a hard way) that the base URL for BIM 360 Field in European region is:
https://bim360field.eu.autodesk.com
Notice "eu" in the URL. In the U.S., it is https://bim360field.autodesk.com
I wrote a post about this, too, for future reference:
https://fieldofviewblog.wordpress.com/2016/08/18/base-url-for-bim-360-field-in-european-countries/
I also found it worked when I used https but not http although the examples in the help use http.

Accessing Metacritic API and/or Scraping

Does anybody know where documentation for the Metacritic api is/if it still works. There used to be a Metacritic API at https://market.mashape.com/byroredux/metacritic-v2#get-user-details which disappeared today.
Otherwise I'm trying to scrape the site myself but keeping getting a blocked by a 429 Slow down. I got data like 3 times this hour and haven't been able to get anymore in the last 20 minutes which is making testing difficult and application possibly useless. Please let me know if there's anything else I can be doing to scape I don't know about.
I was using that API as well for an app I wrote a while ago. Looks like the creator removed it from Mashape. I just sent him an email to ask whether it'll be back up. I did find this scraper online. It only has a few endpoints but following the examples given you could easily add more. Let me know if you make any progress!
Edit: Looks like CBS requested it to be taken down. The ToS prohibits scraping:
[…] you agree not to do the following, or assist others to do the following:
Engage in unauthorized spidering, “scraping,” data mining or harvesting of Content, or use any other unauthorized automated means to gather data from or about the Services;
Though I was hoping for a Javascript way of doing this, the creator of the API also told me some info.
He says I was getting blocked for not having a User agent in the header and should use a 429 handling procedure i.e. re-request with longer pauses in between.
A PHP plugin available as well: http://datalinx.io/shop/metacritic-api/
I had to add a user agent like JCDJulian said and now it allows me to scrape. So for Ruby:
agent = Mechanize.new
agent.user_agent_alias = "Mac Firefox"
Then it stopped giving me the 403 Forbidden error.

Truncated results when downloading general catalog

I have inherited a project built by another developer that attempts to download and process the general catalog from the Netflix API (REST endpoint: catalog/titles/full?v=2.0). My client is complaining that the results are truncated (maybe even by 50%). I do not receive any error message during the download. Why would the response contain a partial dataset and how might I fix it?
Side note: I couldn't find the NETFLIXAPI tag and don't have enough reputation points to add it. Maybe some else can.
2 points:
1. Up until yesterday I have downloaded the catalog everyday and have never seen it get truncated
2. More importantly, Netflix has deprecated the full catalog and so you need to get catalog/dvd and/or catalog/streaming

PayPal - 10001 internal error: timeout processing request Express Checkout

I have a problem with the Express Checkout. I tried all the solution provided in the web but I cannot make it work!
I'm using VB 2012 for Web and ASP.NET. I built a cart in the web site and try to integrate PayPal Express Checkout (for now using the test account in Sandbox).
When I click on the PayPal button it shows me the error:
10001 Internal Error: Timeout processing request
Debugging the application I found that the problem is when he try to make the call:
Try
Using myWriter As New StreamWriter(objRequest.GetRequestStream())
myWriter.Write(strPost)
End Using
Catch e As Exception
End Try
Where strPost is the following:
METHOD=SetExpressCheckout&RETURNURL=http%3a%2f%2flocalhost%3a63223%2fCheckout%2fCheckoutReview.aspx&CANCELURL=http%3a%2f%2flocalhost%3a63223%2fCheckout%2fCheckoutCancel.aspx&BRANDNAME=PayPal+Sample+Application&PAYMENTREQUEST_0_AMT=36&PAYMENTREQUEST_0_ITEMAMT=36&PAYMENTREQUEST_0_PAYMENTACTION=Sale&PAYMENTREQUEST_0_CURRENCYCODE=USD&L_PAYMENTREQUEST_0+_NAME=Modena&L_PAYMENTREQUEST_0_AMT=36&L_PAYMENTREQUEST_0_QTY=1&USER=minni_1356740302_biz_api1.gmail.com&PWD=1356740320&SIGNATURE=AlYEmGf5ECuFHhwJgGlXJ.tMCTY0AFMcAx3nUjv6Ssg4RlD7YYwyoOJb&VERSION=88.0&BUTTONSOURCE=PP-ECWizard
What could be wrong?
I really need help..​Any and all help is appreciated.
Thanks in advance!
This error could simply mean there's an issue with the PayPal sandbox servers, or it could mean you have a problem with your request. I was able to successfully hit the sandbox with SetExpressCheckout just now, though, so I'm guessing it must have something to do with your request.
One thing I see right away is that you won't be able to use localhost in your ReturnURL and CancelURL because at the time that gets used it will be running from PayPal's server. As such, "localhost" will be their server, not yours, and the redirect won't work. You'll need to use your own public IP address or setup a domain of some sort to point to your test server. That could be what their server isn't liking.
Another thing I notice is that you're just using the value 36 for your amounts. PayPal documentation specifies you need to use two decimal places on amount values, so you need to make sure and pass 36.00 instead.
The next thing I notice, which is probably what's causing your problem, is that one of your parameter names is invalid: [L_PAYMENTREQUEST_0+_NAME]
You need to get that + out of there. I bet that'll fix your issue, but I'd still get those other things fixed up, too.