java.io.IOException: Server returned HTTP response code: 400 for URL: https://api.cloud.appcelerator.com/v1/apps/create.json?key=7fI2AZHmrSvAHNKsSQKzrSXz5NWjo2tt

Appcelerator JIRA | Dustin Hyde | 4 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    ACS: duplicate guid does not generate accurate error. Current UI Error (& see screenshot): {code} java.io.IOException: Server returned HTTP response code: 400 for URL: https://api.cloud.appcelerator.com/v1/apps/create.json?key=7fI2AZHmrSvAHNKsSQKzrSXz5NWjo2tt Server returned HTTP response code: 400 for URL: https://api.cloud.appcelerator.com/v1/apps/create.json?key=7fI2AZHmrSvAHNKsSQKzrSXz5NWjo2tt {code} Studio Log Error: {code} !ENTRY com.appcelerator.titanium.core 1 0 2013-01-29 22:22:11.235 !MESSAGE (Build 3.0.2.201301281948) [INFO] com.appcelerator.titanium.core/debug/api ACS Register App API Request: https://api.cloud.appcelerator.com/v1/apps/create.json?key=7fI2AZHmrSvAHNKsSQKzrSXz5NWjo2tt, parameters description=not+specified&name=p2&ti_guid=8a582c80-a1b3-4816-a616-e3cf55ab2fe8&suffix=development%2Cproduction&ti=true !ENTRY com.appcelerator.titanium.ui.ide 4 0 2013-01-29 22:22:11.277 !MESSAGE (Build 3.0.2.201301281948) [ERROR] Failed to register app for ACS !STACK 0 java.io.IOException: Server returned HTTP response code: 400 for URL: https://api.cloud.appcelerator.com/v1/apps/create.json?key=7fI2AZHmrSvAHNKsSQKzrSXz5NWjo2tt at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1436) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234) at com.appcelerator.titanium.core.acs.ACSManager.registerApp(ACSManager.java:410) at com.appcelerator.titanium.core.acs.ACSManager.registerApp(ACSManager.java:362) at com.appcelerator.titanium.ui.ide.tiappEditor.TiAppCloudSection$2$1.run(TiAppCloudSection.java:243) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {code} Steps to Reproduce: 1. Create TiProject1 with ACS enabled. 2. Copy GUID from TiProject1 tiapp.xml. 3. Create TiProject2 w/o ACS enabled. 4. Paste GUID into TiProject2 tiapp.xml. 5. Enable TiProject2 ACS via TiApp Editor Overview. Actual Result: Meaningless error. Expected Result: Duplicate GUID error.

    Appcelerator JIRA | 4 years ago | Dustin Hyde
    java.io.IOException: Server returned HTTP response code: 400 for URL: https://api.cloud.appcelerator.com/v1/apps/create.json?key=7fI2AZHmrSvAHNKsSQKzrSXz5NWjo2tt
  2. 0

    ACS: duplicate guid does not generate accurate error. Current UI Error (& see screenshot): {code} java.io.IOException: Server returned HTTP response code: 400 for URL: https://api.cloud.appcelerator.com/v1/apps/create.json?key=7fI2AZHmrSvAHNKsSQKzrSXz5NWjo2tt Server returned HTTP response code: 400 for URL: https://api.cloud.appcelerator.com/v1/apps/create.json?key=7fI2AZHmrSvAHNKsSQKzrSXz5NWjo2tt {code} Studio Log Error: {code} !ENTRY com.appcelerator.titanium.core 1 0 2013-01-29 22:22:11.235 !MESSAGE (Build 3.0.2.201301281948) [INFO] com.appcelerator.titanium.core/debug/api ACS Register App API Request: https://api.cloud.appcelerator.com/v1/apps/create.json?key=7fI2AZHmrSvAHNKsSQKzrSXz5NWjo2tt, parameters description=not+specified&name=p2&ti_guid=8a582c80-a1b3-4816-a616-e3cf55ab2fe8&suffix=development%2Cproduction&ti=true !ENTRY com.appcelerator.titanium.ui.ide 4 0 2013-01-29 22:22:11.277 !MESSAGE (Build 3.0.2.201301281948) [ERROR] Failed to register app for ACS !STACK 0 java.io.IOException: Server returned HTTP response code: 400 for URL: https://api.cloud.appcelerator.com/v1/apps/create.json?key=7fI2AZHmrSvAHNKsSQKzrSXz5NWjo2tt at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1436) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234) at com.appcelerator.titanium.core.acs.ACSManager.registerApp(ACSManager.java:410) at com.appcelerator.titanium.core.acs.ACSManager.registerApp(ACSManager.java:362) at com.appcelerator.titanium.ui.ide.tiappEditor.TiAppCloudSection$2$1.run(TiAppCloudSection.java:243) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {code} Steps to Reproduce: 1. Create TiProject1 with ACS enabled. 2. Copy GUID from TiProject1 tiapp.xml. 3. Create TiProject2 w/o ACS enabled. 4. Paste GUID into TiProject2 tiapp.xml. 5. Enable TiProject2 ACS via TiApp Editor Overview. Actual Result: Meaningless error. Expected Result: Duplicate GUID error.

    Appcelerator JIRA | 4 years ago | Dustin Hyde
    java.io.IOException: Server returned HTTP response code: 400 for URL: https://api.cloud.appcelerator.com/v1/apps/create.json?key=7fI2AZHmrSvAHNKsSQKzrSXz5NWjo2tt
  3. 0
    samebug tip
    Check if you didn't set RequestProperty Content-Type to the wrong type or if you're trying to send the wrong file to the server.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    CAS Second level

    Google Groups | 3 years ago | Lynch maniac
    java.io.IOException: Server returned HTTP response code: 500 for URL: https://localhost:8443/cas/serviceValidate?ticket=ST-1-YZaBWIkNHt5qu5hBI03V-example.fr&service=https%3A%2F%2Flocalhost%3A8443%2FmywebappOrig%2Fprotected%2F

  1. tfr 2 times, last 7 months ago
  2. davidvanlaatum 1 times, last 7 months ago
  3. pnaranja 5 times, last 9 months ago
  4. aldrinleal 1 times, last 11 months ago
29 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.IOException

    Server returned HTTP response code: 400 for URL: https://api.cloud.appcelerator.com/v1/apps/create.json?key=7fI2AZHmrSvAHNKsSQKzrSXz5NWjo2tt

    at sun.net.www.protocol.http.HttpURLConnection.getInputStream()
  2. Java RT
    HttpsURLConnectionImpl.getInputStream
    1. sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1436)
    2. sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)
    2 frames
  3. com.appcelerator.titanium
    TiAppCloudSection$2$1.run
    1. com.appcelerator.titanium.core.acs.ACSManager.registerApp(ACSManager.java:410)
    2. com.appcelerator.titanium.core.acs.ACSManager.registerApp(ACSManager.java:362)
    3. com.appcelerator.titanium.ui.ide.tiappEditor.TiAppCloudSection$2$1.run(TiAppCloudSection.java:243)
    3 frames
  4. Eclipse Jobs
    Worker.run
    1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    1 frame