---
title: "Bad request exception after enabling TFS4JIRA Synchronization"
canonical: "https://support.appfire.com/space/SUPPORT/153453504/Bad%20request%20exception%20after%20enabling%20TFS4JIRA%20Synchronization"
format: markdown
---
## Problem

If you start a Live Synchronization or attempt to use the Initial Migration, without first installing the TFS4JIRA add-on in Jira, you will get the following exception in the **Logs**:

```
2020-09-08 22:33:51,782 [10] WARN SpartezSoftware.Synchronizer.Services.Workers.SynchronizationWorker - Error running profile "DEMO" synchronization
System.Net.Http.HttpRequestException: Request failed - BadRequest (Bad Request)
at SpartezSoftware.Synchronizer.Client.RestClient.<RequestAsync>d__1.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SpartezSoftware.Synchronizer.Client.RestClient.<Request>d__0.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SpartezSoftware.Synchronizer.Extensions.TaskExtension.SynchronouslyGetResult[T](Task`1 thisTask)
at SpartezSoftware.Synchronizer.Services.JsonService.JsonOp(HttpMethod operation, String url, Object json, HttpStatusCode[] expectedCodes, IAuthentication authentication)
at SpartezSoftware.Synchronizer.Services.JsonService.JsonOp(HttpMethod operation, String url, Object json, HttpStatusCode expectedCode, IAuthentication authentication)
at SpartezSoftware.Synchronizer.Services.JiraService.CheckLicenseForOnDemandJira(String jiraUrl)
at SpartezSoftware.Synchronizer.Services.LicenseService.FetchLicense(SyncProfile syncProfile)
at SpartezSoftware.Synchronizer.Services.LicenseService.GetLicense(SyncProfile profile)
at SpartezSoftware.Synchronizer.Services.Workers.SynchronizationWorker.<RunSyncProfileAsync>d__15.MoveNext() 
```

This exception indicates that you are missing one of the [components](https://appfire.atlassian.net/wiki/pages/viewpage.action?pageId=148193440) that are required to run the synchronization. The add-on in your Jira.

## How to resolve

In Jira, navigate to `Administration > Apps > Find new Apps` and install TFS4JIRA.

Once you have done it, make sure the license is in place and attempt to enable Live Sync or run the Initial Migration once again.