Cloud instance returns shared_secret null while installing connect app
Asked by Raja:

```
o.s.web.servlet.DispatcherServlet : Completed 200 OK
2020-01-23 11:04:36.751 DEBUG 22972 --- [nio-8080-exec-5] o.s.web.servlet.DispatcherServlet : POST "/installed", parameters={}
2020-01-23 11:04:36.768 DEBUG 22972 --- [nio-8080-exec-5] m.m.a.RequestResponseBodyMethodProcessor : Read "application/json;charset=UTF-8" to [com.atlassian.connect.spring.internal.lifecycle.LifecycleEvent@773b9ce6]
2020-01-23 11:04:36.925 INFO 22972 --- [ task-1] c.a.c.s.i.lifecycle.LifecycleController : Saved installation for host https://rajaboppana.atlassian.net/wiki (62724b09-fab4-3d8c-bded-79417804003c)
2020-01-23 11:04:36.953 ERROR 22972 --- [ task-1] o.h.engine.jdbc.spi.SqlExceptionHelper : ERROR: null value in column "shared_secret" violates not-null constraint
Detail: Failing row contains (62724b09-fab4-3d8c-bded-79417804003c, MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCUgL92DjShGcG8W4G/Msiqgj1w..., null, https://rajaboppana.atlassian.net/wiki, confluence, Atlassian Confluence at null , null, t, 2020-01-23 11:04:36.912, 2020-01-23 11:04:36.912, null, null, null).
2020-01-23 11:04:36.979 DEBUG 22972 --- [nio-8080-exec-5] o.s.web.servlet.DispatcherServlet : Failed to complete request: java.lang.RuntimeException: org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint [shared_secret]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement
2020-01-23 11:04:36.991 ERROR 22972 --- [nio-8080-exec-5] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.RuntimeException: org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint [shared_secret]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement] with root cause
```

```
org.postgresql.util.PSQLException: ERROR: null value in column "shared_secret" violates not-null constraint
Detail: Failing row contains (62724b09-fab4-3d8c-bded-79417804003c, MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCUgL92DjShGcG8W4G/Msiqgj1w..., null, https://rajaboppana.atlassian.net/wiki, confluence, Atlassian Confluence at null , null, t, 2020-01-23 11:04:36.912, 2020-01-23 11:04:36.912, null, null, null).
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2284) ~[postgresql-9.4.1208.jar:9.4.1208]
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2003) ~[postgresql-9.4.1208.jar:9.4.1208]
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:200) ~[postgresql-9.4.1208.jar:9.4.1208]
at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:424) ~[postgresql-9.4.1208.jar:9.4.1208]
at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:161) ~[postgresql-9.4.1208.jar:9.4.1208]
at org.postgresql.jdbc.PgPreparedStatement.executeUpdate(PgPreparedStatement.java:133) ~[postgresql-9.4.1208.jar:9.4.1208]![Capture.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/80178i68B9EE0C2F6DDF70/image-size/large?v=v2&px=999 "Capture.PNG")
```


Answers:
author: Shannon S
body: Hello Raja,

Welcome to Atlassian Community. It's nice to have you join us!

Could you help clarify what it is you're trying to do? It appears that you might be developing an add-on for Cloud, and you're not able to add it to your staging instance.

My recommendation would be instead to raise this with our Developer Community, available from our [Atlassian Developer resources page](https://developer.atlassian.com/resources). The community there has more hands-on experience with developing for Atlassian products, so it should be a better resource for you.

Let me know if you have any questions about that.

Regards,

Shannon


Tags: atl-dev

confluence-cloud