# Serverless deploys failing?

**URL:** <https://forum.serverless.com/t/serverless-deploys-failing/13212>\
**Category:** Serverless Framework\
**Tags:** aws\
**Created:** [November 25, 2020, 3:39pm UTC](https://forum.serverless.com/t/serverless-deploys-failing/13212 "2020-11-25T15:39:54Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ed1](https://avatars.discourse-cdn.com/v4/letter/e/958977/32.png) [@ed1](https://forum.serverless.com/u/ed1)\
**Post date:** [November 25, 2020, 3:39pm UTC](https://forum.serverless.com/t/serverless-deploys-failing/13212/1 "2020-11-25T15:39:54Z")

</div>

Our Serverless deploys started failing today and I don’t know why. The problem seemed to start an automated deploy from Git got canceled. I figured that there where some pieces still hanging out and tried to remove the stage and redeploy. That didn’t work. To me it is failing really early on, like initial setup early and before it really gets into the deployment. No CloudFormation stack is created. There is a Serverless S3 bucket for this stage created recently, however it is in the AWS region “Error” and is well broken.

Here are a couple things that I have noticed when trying to deploy the stage from my local machine with debug messages.

```auto
platform-sdk fetching: POST https://api.serverless.com/core/tenants/ **org** /applications/ **app** /profileValue
ignoring provider credentials error Error: Request failed with status code 500
    at createError (./node_modules/axios/lib/core/createError.js:16:15)
    at settle (./node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (./node_modules/axios/lib/adapters/http.js:236:11)
    at IncomingMessage.emit (events.js:327:22)
    at IncomingMessage.EventEmitter.emit (domain.js:482:12)
    at endReadableNT (_stream_readable.js:1221:12)
    at processTicksAndRejections (internal/process/task_queues.js:84:21)

```

Sometimes there is config data after this

The deploy continues and eventually crashes with this

```auto
Serverless: Installing dependencies for custom CloudFormation resources...
Serverless: Invoke aws:package:finalize
Serverless: [AWS sts 200 0.09s 0 retries] getCallerIdentity({})
platform-sdk fetching: POST https://api.serverless.com/malt/destinations/create
 
  Error --------------------------------------------------
 
  Error: {"message": "Internal server error"}
      at module.exports (./node_modules/@serverless/enterprise-plugin/lib/logsCollection.js:74:11)
      at runMicrotasks (<anonymous>)
      at processTicksAndRejections (internal/process/task_queues.js:97:5)
 
  Get Support --------------------------------------------
     Docs: docs.serverless.com
     Bugs: github.com/serverless/serverless/issues
     Issues: forum.serverless.com
 
  Your Environment Information ---------------------------
     Operating System: darwin
     Node Version: 12.18.1
     Framework Version: 2.11.1 (standalone)
     Plugin Version: 4.1.2
     SDK Version: 2.3.2
     Components Version: 3.3.0

```

Anyone have any thoughts on this?

Thanks

---

<div class="post-metadata">

**Author:** ![kmihaltsov](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/kmihaltsov/32/4777_2.png) [@kmihaltsov](https://forum.serverless.com/u/kmihaltsov)\
**Post date:** [November 25, 2020, 3:47pm UTC](https://forum.serverless.com/t/serverless-deploys-failing/13212/2 "2020-11-25T15:47:38Z")

</div>

Having same issue today…

---

<div class="post-metadata">

**Author:** ![saracmelo](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/saracmelo/32/4779_2.png) [@saracmelo](https://forum.serverless.com/u/saracmelo)\
**Post date:** [November 25, 2020, 5:07pm UTC](https://forum.serverless.com/t/serverless-deploys-failing/13212/5 "2020-11-25T17:07:20Z")

</div>

AWS is experiencing downtime which could be causing this issue.

> **[AWS Service Health Dashboard - Nov 25, 2020 PST](https://status.aws.amazon.com/)**

---

<div class="post-metadata">

**Author:** ![ed1](https://avatars.discourse-cdn.com/v4/letter/e/958977/32.png) [@ed1](https://forum.serverless.com/u/ed1)\
**Post date:** [November 25, 2020, 5:23pm UTC](https://forum.serverless.com/t/serverless-deploys-failing/13212/6 "2020-11-25T17:23:32Z")

</div>

It is possible that it could be an AWS issue, they first issue reporting was `6:36 AM PST We are investigating increased error rates for Kinesis Data Streams APIs in the US-EAST-1 Region`. We were having issues at least an hour before that. We also don’t use Kinesis. So that would have to be a backend process that serverless is using.

---

<div class="post-metadata">

**Author:** ![ed1](https://avatars.discourse-cdn.com/v4/letter/e/958977/32.png) [@ed1](https://forum.serverless.com/u/ed1)\
**Post date:** [November 25, 2020, 5:28pm UTC](https://forum.serverless.com/t/serverless-deploys-failing/13212/7 "2020-11-25T17:28:04Z")

</div>

If anyone is getting this issue…

> [@ed1](#):
>
> ```auto
> platform-sdk fetching: POST https://api.serverless.com/core/tenants/ **org** /applications/ **app** /profileValue
> ignoring provider credentials error Error: Request failed with status code 500
> 
> ```

That seems to go away if I specify the region in my command line instead of relying on the .aws/config file. But it still fails at the `platform-sdk fetching` part. So, not super helpful.

---

<div class="post-metadata">

**Author:** ![shehantissera](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/shehantissera/32/4781_2.png) [@shehantissera](https://forum.serverless.com/u/shehantissera)\
**Post date:** [November 25, 2020, 6:27pm UTC](https://forum.serverless.com/t/serverless-deploys-failing/13212/8 "2020-11-25T18:27:53Z")

</div>

Experiencing the same here. Guess we have to wait till the AWS services a back online.

---

<div class="post-metadata">

**Author:** ![edouard.lauret](https://avatars.discourse-cdn.com/v4/letter/e/ed655f/32.png) [@edouard.lauret](https://forum.serverless.com/u/edouard.lauret)\
**Post date:** [December 1, 2020, 1:48pm UTC](https://forum.serverless.com/t/serverless-deploys-failing/13212/9 "2020-12-01T13:48:46Z")

</div>

Same here too … 🧐

---

<div class="post-metadata">

**Author:** ![iamdavidmartin](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/iamdavidmartin/32/5022_2.png) [@iamdavidmartin](https://forum.serverless.com/u/iamdavidmartin)\
**Post date:** [January 7, 2021, 8:03pm UTC](https://forum.serverless.com/t/serverless-deploys-failing/13212/10 "2021-01-07T20:03:25Z")

</div>

This is happening for me too:

```auto
platform-sdk fetching: POST 

https://api.serverless.com/core/tenants/xxxxxx/applications/xxxxxx/profileValue

```

ignoring provider credentials error Error: Request failed with status code 500

```auto

```
