Announcing Messaging Service API for Open Cloud

I am trying to use publish/save/publishTopic open cloud services provided by roblox. It use to work a few days ago, but recently it started to give me 500 internal errors… Not sure why, nothing has changed and was wondering if it was a roblox issue?

   [Symbol(kOutHeaders)]: [Object: null prototype] {
        accept: [ 'Accept', 'application/json, text/plain, */*' ],
        'content-type': [ 'Content-Type', 'application/json' ],
        'x-api-key': [
          'x-api-key',
          'my-actual-api-key-not-to-be-shared'
        ],
        'user-agent': [ 'User-Agent', 'axios/0.26.1' ],
        'content-length': [ 'Content-Length', 27 ],
        host: [ 'Host', 'apis.roblox.com' ]
      },
      [Symbol(kUniqueHeaders)]: null
    },
    data: { Error: 'Internal', Message: 'Failed to publish message.' }
  },
  isAxiosError: true,
  toJSON: [Function: toJSON]
}

The same happens with a curl command…

image

I am also having issues with it now, it was working before and now i am receiving the same error as you, i didn’t change anything for that to happen and i believe it was a Roblox change, it would be nice to hear what was changed.

1 Like

Your api key regenerated I believe.

Seems like message topic is working now, but for save and publish i am still getting 500 status response.

 data: {
      type: 'https://tools.ietf.org/html/rfc7231#section-6.6.1',
      title: 'An error occurred while processing your request.',
      status: 500,
      traceId: '00-e29fd8c94fcd0113c1bc9b7a39bd64b6-e19f9e3af3b53814-00'
    }

Any update regarding this issue? Seems I am still getting a 500 response

The issue is still persisting. Seems to work fine with an rbxlx file but not an rbxm. (using different commands for each)

$ curl --verbose --location --request POST 'https://apis.roblox.com/universes/v1/4092756726/places/11814862877/versions?versionType=Published' \
> --header 'x-api-key: not-to-share' \
> --header 'Content-Type: application/octet-stream' \
> --data-binary @./testrbx.rbxl
Note: Unnecessary use of -X or --request, POST is already inferred.
*   Trying 128.116.126.4:443...
* Connected to apis.roblox.com (128.116.126.4) port 443 (#0)
* ALPN: offers h2
* ALPN: offers http/1.1
*  CAfile: C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
*  CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256
* ALPN: server accepted h2
* Server certificate:
*  subject: CN=*.roblox.com
*  start date: Jul 18 21:54:17 2022 GMT
*  expire date: Aug 13 22:53:34 2023 GMT
*  subjectAltName: host "apis.roblox.com" matched cert's "*.roblox.com"
*  issuer: C=US; ST=Arizona; L=Scottsdale; O=GoDaddy.com, Inc.; OU=http://certs.godaddy.com/repository/; CN=Go Daddy Secure Certificate Authority - G2
*  SSL certificate verify ok.
* Using HTTP2, server supports multiplexing
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* h2h3 [:method: POST]
* h2h3 [:path: /universes/v1/4092756726/places/11814862877/versions?versionType=Published]
* h2h3 [:scheme: https]
* h2h3 [:authority: apis.roblox.com]
* h2h3 [user-agent: curl/7.85.0]
* h2h3 [accept: */*]
* h2h3 [x-api-key: not-to-share]
* h2h3 [content-type: application/octet-stream]
* h2h3 [content-length: 0]
* Using Stream ID: 1 (easy handle 0x29d4e2202d0)
> POST /universes/v1/4092756726/places/11814862877/versions?versionType=Published HTTP/2
> Host: apis.roblox.com
> user-agent: curl/7.85.0
> accept: */*
> x-api-key: dont-share
> content-type: application/octet-stream
> content-length: 0
>
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
< HTTP/2 500 
< content-length: 200
< content-type: application/json; charset=utf-8
< date: Tue, 20 Dec 2022 20:51:27 GMT
< server: envoy
< strict-transport-security: max-age=3600
< x-envoy-upstream-service-time: 12
< report-to: {"group":"network-errors","max_age":604800,"endpoints":[{"url":"https://ncs.roblox.com/upload"}]}
< nel: {"report_to":"network-errors","max_age":604800,"success_fraction":0.001,"failure_fraction":1}
<
{"type":"https://tools.ietf.org/html/rfc7231#section-6.6.1","title":"An error occurred while processing your request.","status":500,"traceId":"00-083e609655c805bf633f48e8cacb1278-ae529ea59117521d-00"}* Connection #0 to host apis.roblox.com left intact

Most of these links need updating
image
@zhongbot

1 Like

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.